package com.ruoyi.production.service.fertilizer;

import com.ruoyi.production.domain.fertilizer.FertilizerApplyTemporary;

import java.util.List;

/**
 * 化肥临时申请Service接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface IFertilizerApplyTemporaryService
{
    /**
     * 查询化肥临时申请
     *
     * @param fertilizerApplyTemporaryId 化肥临时申请ID
     * @return 化肥临时申请
     */
    public FertilizerApplyTemporary selectFertilizerApplyTemporaryById(Long fertilizerApplyTemporaryId);

    /**
     * 查询化肥临时申请列表
     *
     * @param fertilizerApplyTemporary 化肥临时申请
     * @return 化肥临时申请集合
     */
    public List<FertilizerApplyTemporary> selectFertilizerApplyTemporaryList(FertilizerApplyTemporary fertilizerApplyTemporary);

    /**
     * 新增化肥临时申请
     *
     * @param fertilizerApplyTemporary 化肥临时申请
     * @return 结果
     */
    public int insertFertilizerApplyTemporary(FertilizerApplyTemporary fertilizerApplyTemporary);

    /**
     * 修改化肥临时申请
     *
     * @param fertilizerApplyTemporary 化肥临时申请
     * @return 结果
     */
    public int updateFertilizerApplyTemporary(FertilizerApplyTemporary fertilizerApplyTemporary);

    /**
     * 批量删除化肥临时申请
     *
     * @param fertilizerApplyTemporaryIds 需要删除的化肥临时申请ID
     * @return 结果
     */
    public int deleteFertilizerApplyTemporaryByIds(Long[] fertilizerApplyTemporaryIds);

    /**
     * 删除化肥临时申请信息
     *
     * @param fertilizerApplyTemporaryId 化肥临时申请ID
     * @return 结果
     */
    public int deleteFertilizerApplyTemporaryById(Long fertilizerApplyTemporaryId);
}
